package com.ruiyian.project.log.domain;

import com.ruiyian.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/1/26
 * Desc: 操作日志
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OperationLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String equipType;
    private String equipName;
    private Long equipId;
    private Long logId;
    private String command;
    private Date sendTime;
    private String sendStatus;
    private String operation;
    private String type;
    private String pileNum;
    private String controlGroup;
    private Integer executeSeq;
    private String createBy;
    private Date createTime;
    private String planName;
    private String value;
    private Long tunnelId;

    public OperationLog(String equipType,String equipName,Long logId,String command,String sendStatus,String type,String controlGroup,Integer executeSeq,String operation,String pileNum,String value,Long eqId,Long tunnelId){
        this.equipType = equipType;
        this.equipName = equipName;
        this.command = command;
        this.logId = logId;
        this.sendStatus = sendStatus;
        this.type = type;
        this.controlGroup = controlGroup;
        this.executeSeq = executeSeq;
        this.operation = operation;
        this.pileNum = pileNum;
        this.value =value;
        this.equipId = eqId;
        this.tunnelId = tunnelId;
    }
}
